/*
 * @Author: chentao
 * @Date: 2022-05-05 10:45:01
 * @Last Modified by: chentao
 * @Last Modified time: 2022-05-07 17:24:50
 */
var mixArr = [];
mixArr.push("nameString");
mixArr.push(22);
mixArr.forEach(function (value, index, arr) {
    console.log("\u904D\u5386item ".concat(value, "->").concat(index, "->").concat(arr));
});
//输出
/**
 * 遍历item nameString->0->nameString,22
  遍历item 22->1->nameString,22

 */
var obj;
obj === null || obj === void 0 ? void 0 : obj.name; //得把严格模式关闭掉为false表示关闭 "strict": false, 
console.log("\u8F93\u51FAobj.name:".concat(obj === null || obj === void 0 ? void 0 : obj.name));
obj = new Object();
obj.name = "lisi";
console.log("\u8F93\u51FAobj.name2:".concat(obj === null || obj === void 0 ? void 0 : obj.name));
var un = undefined;
var nu = null;
console.log("undefined ".concat(un));
console.log("null ".concat(nu));
